package com.fast.fastenjoy.components.common.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fast.fastenjoy.base.domain.BaseDomain;

/**
 * 地图位置信息
 * @author chenliaohua
 *
 */
@Entity
@Table(name="T_C_MAP_POSITION")
public class MapPosition extends BaseDomain{
	
	private static final long serialVersionUID = -5271221618973879049L;

	private long id;
	
	private String title;
	
	private String content;
	
	private double longitude;
	
	private double latitude;
	
	private String status;

	@Id
    @GeneratedValue(strategy=GenerationType.AUTO)
	@Column
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	@Column
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column
	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	@Column
	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	@Column
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
}
